home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / images / drawlist.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-19  |  1.7 KB  |  77 lines

  1. #ifndef IMAGES_DRAWLIST_H
  2. #define IMAGES_DRAWLIST_H
  3. /*
  4. **    $VER: drawlist.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the drawlist.image BOOPSI class
  8. **
  9. **    (C) Copyright 1987-1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15. #ifndef REACTRION_REACTION_H
  16. #include <reaction/reaction.h>
  17. #endif
  18.  
  19. #ifndef INTUITION_IMAGECLASS_H
  20. #include <intuition/imageclass.h>
  21. #endif
  22.  
  23. /*****************************************************************************/
  24.  
  25. #define DRAWLIST_Dummy        (REACTION_Dummy + 0x17000)
  26.  
  27. #define DRAWLIST_Directives    (DRAWLIST_Dummy+1)
  28.     /* (struct DrawList *) Pointer to drawlist directive array. */
  29.  
  30. #define DRAWLIST_RefHeight    (DRAWLIST_Dummy+2)
  31.     /* (WORD) Reference height of drawlist. */
  32.  
  33. #define DRAWLIST_RefWidth    (DRAWLIST_Dummy+3)
  34.     /* (WORD) Reference width of drawlist. */
  35.  
  36. #define DRAWLIST_DrawInfo    (DRAWLIST_Dummy+4)
  37.     /* Obsolete!! Do not use. */
  38.  
  39. /*****************************************************************************/
  40.  
  41. /* DrawList Primitive Directives
  42.  */
  43.  
  44. #define DLST_END        0
  45.  
  46. #define DLST_LINE        1
  47. #define DLST_RECT        2
  48. #define DLST_FILL        3
  49. #define DLST_ELLIPSE    4
  50. #define DLST_CIRCLE        5
  51. #define DLST_LINEPAT    6
  52. #define DLST_FILLPAT    7
  53. #define DLST_AMOVE        8
  54. #define DLST_ADRAW        9
  55. #define DLST_AFILL        10
  56. #define DLST_BEVELBOX    11
  57. #define DLST_ARC        12
  58. #define DLST_START        13
  59. #define DLST_BOUNDS        13
  60. #define DLST_LINESIZE    14
  61.  
  62. /*****************************************************************************/
  63.  
  64. /* Pass an array of these via DRAWLIST_Directives.
  65.  * Last entry must be DLST_END!
  66.  */
  67.  
  68. struct DrawList
  69. {
  70.     WORD dl_Directive;
  71.     UWORD dl_X1, dl_Y1;
  72.     UWORD dl_X2, dl_Y2;
  73.     WORD dl_Pen;
  74. };
  75.  
  76. #endif /* IMAGES_DRAWLIST_H */
  77.